'use strict';

/**
 * @param {Egg.Application} app - egg application
 */
module.exports = app => {
  const { router, controller } = app;
  // const isadmin = app.middleware.isAdmin();

  router.get('/danmu/find', controller.danmu.find);
	router.post('/danmu/update', controller.danmu.update);
};
